<?php

/**
 * Ownchoice form.
 *
 * @package    briefingPropel
 * @subpackage form
 * @author     Your name here
 */
class OwnchoiceForm extends BaseOwnchoiceForm
{
  public function configure()
  {
    
    parent::configure();
    
    $this->widgetSchema->setLabels(array(
        'idOwnChoice' => 'id own choice',
    ));
    
    
    $this->widgetSchema['is_own_choice'] = new sfWidgetFormInputCheckbox(array(
        'label' => 'Own choice'
    ));
    $this->validatorSchema['is_own_choice'] = new sfValidatorBoolean();
    
    
    $this->widgetSchema['text'] = new sfWidgetFormInputText(array(
        'label' => 'Choice',
    ));
    $this->validatorSchema['text'] = new sfValidatorString(array(
        'required' => false
    ));
  }
}
